package com.yuanqiworld.vw.web;

import com.yuanqiworld.vw.domain.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.roo.addon.web.mvc.controller.finder.RooWebFinder;
import org.springframework.roo.addon.web.mvc.controller.json.RooWebJson;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/messages")
@Controller
@RooWebFinder
@RooWebJson(jsonObject = Message.class)
@RooWebScaffold(path = "messages", formBackingObject = Message.class)
public class MessageController {

    @Autowired
    private MessageSource messageSource;

}
